<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>订单详情</title>
    <link rel="stylesheet" href="mui/css/mui.css">
    <script src="mui/js/mui.js"></script>
    <link rel="stylesheet" href="css/style.css?v1.1.2">
    <script src="js/jquery-1.11.3.js"></script>
</head>
<body>
<div class="mui-content order-details">
    <div class="order-details-top">
        <div>缴费金额：<span class="red1">1089.00元</span></div>
        <div>缴费人：童小威（户主）</div>
        <div>缴费地址：彩网测试小区 15栋 1010室</div>
        <!--<div><img src="./images/order_bg.png" alt=""></div>-->
    </div>
    <div class="mui-card payment-collapse">
        <ul class="mui-table-view">
            <li class="mui-table-view-cell">
                <a class="mui-row payment-th" href="#">
                    <div class="mui-col-xs-6 mui-checkbox mui-left payment-date">2018年12月<span class="yellow">（欠费）</span></div>
                    <div class="mui-col-xs-3 pub-bg-down pub-collapse">￥888.88</div>
                </a>
                <div class="mui-collapse-content pub-collapse-content" style="display: none;">
                    <div class="mui-row payment-th">
                        <div class="mui-col-xs-6 payment-text-l">停车费</div>
                        <div class="mui-col-xs-6 payment-th-l">￥75.00</div>
                    </div>
                    <div class="mui-row payment-th">
                        <div class="mui-col-xs-6 payment-text-l">停车费</div>
                        <div class="mui-col-xs-6 payment-th-l">￥75.00</div>
                    </div>
                </div>
            </li>
            <li class="mui-table-view-cell">
                <a class="mui-row payment-th" href="#">
                    <div class="mui-col-xs-6 mui-checkbox mui-left payment-date">2018年12月<span class="blue">（预缴）</span></div>
                    <div class="mui-col-xs-6  pub-bg-down pub-collapse">￥888.88</div>
                </a>
                <div class="mui-collapse-content pub-collapse-content" style="display: none;">
                    <div class="mui-row payment-th">
                        <div class="mui-col-xs-6 payment-text-l">停车费</div>
                        <div class="mui-col-xs-6 payment-th-l">￥75.00</div>
                    </div>
                    <div class="mui-row payment-th">
                        <div class="mui-col-xs-6 payment-text-l">停车费</div>
                        <div class="mui-col-xs-6 payment-th-l">￥75.00</div>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div>
<div class="customer"></div>
<script src="js/drag.js"></script>
<script>
    $(".customer").dragEffect(".customer");
    $('.pub-collapse').click(function () {
        let collapse = $(this).parent('a').next('.pub-collapse-content');
        if(collapse.css("display")==="none"){
            collapse.css("display","block");
            $(this).css("background-image","url('images/up.png')")
        }else{
            collapse.css("display","none");
            $(this).css("background-image","url('images/down.png')")
        }
    })
</script>
</body>
</html>